package com.cutie.entry.service;

import java.sql.SQLException;
import java.util.List;

import com.cutie.entry.dao.PropertyDictionaryDao;
import com.cutie.entry.model.PropertyDictionary;

public class PropertyDictionaryService {

	
	PropertyDictionaryDao propertyDictionaryDao;
	
	public PropertyDictionaryService(){
		propertyDictionaryDao = new PropertyDictionaryDao();
	}
	
	public List<PropertyDictionary> findPropertyByEntryId(Integer entryId) throws SQLException{
		return propertyDictionaryDao.getProperties(entryId);
	}
	
}
